package com.sxm.yiwei.beans;

import java.util.List;

/**
 * Created by KuKa on 2017/7/22.
 * 店铺列表
 */

public class ShopContent {

    /**
     * data : {"avatar":"/shop/avatar/201707/13/ebfa4c81-6560-4a46-a7b7-89e344a1e768.jpg","distance":0,"gradeCode":10,"id":"8e11180d-676b-11e7-a83f-2c4d54e34683","intro":"不通了，改送水了","isInsurance":false,"name":"通下水道","sellGrade":2,"serviceList":[{"amount":10.92,"id":"ab97e5ab-6793-11e7-a83f-2c4d54e34683","intro":"不送水了","name":"送水","score":5,"serviceAvatar":"/shop/service/illustrate/201707/13/55a403cd-2465-4f7b-8468-6a7042fbcc6a.jpg","volume":1}],"showImages":["/shop/avatar/201707/13/ebfa4c81-6560-4a46-a7b7-89e344a1e768.jpg"],"type":1,"volume":1}
     * status : 1
     */

    private DataBean data;
    private int status;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public static class DataBean {
        /**
         * avatar : /shop/avatar/201707/13/ebfa4c81-6560-4a46-a7b7-89e344a1e768.jpg
         * distance : 0
         * gradeCode : 10
         * id : 8e11180d-676b-11e7-a83f-2c4d54e34683
         * intro : 不通了，改送水了
         * isInsurance : false
         * name : 通下水道
         * sellGrade : 2
         * serviceList : [{"amount":10.92,"id":"ab97e5ab-6793-11e7-a83f-2c4d54e34683","intro":"不送水了","name":"送水","score":5,"serviceAvatar":"/shop/service/illustrate/201707/13/55a403cd-2465-4f7b-8468-6a7042fbcc6a.jpg","volume":1}]
         * showImages : ["/shop/avatar/201707/13/ebfa4c81-6560-4a46-a7b7-89e344a1e768.jpg"]
         * type : 1
         * volume : 1
         */

        private String avatar;
        private Double distance;
        private int gradeCode;
        private String id;
        private String intro;
        private boolean isInsurance;
        private String name;
        private int sellGrade;
        private int type;
        private int volume;
        private List<ServiceListBean> serviceList;
        private List<String> showImages;

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public Double getDistance() {
            return distance;
        }

        public void setDistance(Double distance) {
            this.distance = distance;
        }

        public int getGradeCode() {
            return gradeCode;
        }

        public void setGradeCode(int gradeCode) {
            this.gradeCode = gradeCode;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }

        public boolean isIsInsurance() {
            return isInsurance;
        }

        public void setIsInsurance(boolean isInsurance) {
            this.isInsurance = isInsurance;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getSellGrade() {
            return sellGrade;
        }

        public void setSellGrade(int sellGrade) {
            this.sellGrade = sellGrade;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getVolume() {
            return volume;
        }

        public void setVolume(int volume) {
            this.volume = volume;
        }

        public List<ServiceListBean> getServiceList() {
            return serviceList;
        }

        public void setServiceList(List<ServiceListBean> serviceList) {
            this.serviceList = serviceList;
        }

        public List<String> getShowImages() {
            return showImages;
        }

        public void setShowImages(List<String> showImages) {
            this.showImages = showImages;
        }

        public static class ServiceListBean {
            /**
             * amount : 10.92
             * id : ab97e5ab-6793-11e7-a83f-2c4d54e34683
             * intro : 不送水了
             * name : 送水
             * score : 5
             * serviceAvatar : /shop/service/illustrate/201707/13/55a403cd-2465-4f7b-8468-6a7042fbcc6a.jpg
             * volume : 1
             */

            private double amount;
            private String id;
            private String intro;
            private String name;
            private Double score;
            private String serviceAvatar;
            private int volume;
            private Double distance;

            public Double getDistance() {
                return distance;
            }

            public void setDistance(Double distance) {
                this.distance = distance;
            }

            public double getAmount() {
                return amount;
            }

            public void setAmount(double amount) {
                this.amount = amount;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getIntro() {
                return intro;
            }

            public void setIntro(String intro) {
                this.intro = intro;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Double getScore() {
                return score;
            }

            public void setScore(Double score) {
                this.score = score;
            }

            public String getServiceAvatar() {
                return serviceAvatar;
            }

            public void setServiceAvatar(String serviceAvatar) {
                this.serviceAvatar = serviceAvatar;
            }

            public int getVolume() {
                return volume;
            }

            public void setVolume(int volume) {
                this.volume = volume;
            }
        }
    }
}
